package com.sikaryofficial.information.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sikaryofficial.information.domain.dto.req.IndustryNewsListReq;
import com.sikaryofficial.information.domain.dto.resp.IndustryNewsDTO;
import com.sikaryofficial.information.domain.entity.IndustryNews;
import org.apache.ibatis.annotations.Param;

/**
 * 产业新闻Mapper接口
 * 
 * @author wuweihong
 * @create  2024-09-18
 */
public interface IndustryNewsMapper  extends BaseMapper<IndustryNews>
{
    IPage<IndustryNewsDTO> industryNewsList(Page<IndustryNewsDTO> customerPage, @Param("req") IndustryNewsListReq req, @Param("userId") Long userId);
}
